package com.xinpark.shared.service;

import java.util.List;

import com.xinpark.shared.ServiceException;
import com.xinpark.shared.service.model.UserModel;
import com.xinpark.shared.service.param.QueryUserCountParam;
import com.xinpark.shared.service.param.QueryUserListParam;
import com.xinpark.shared.service.param.QueryUserParam;


public interface UserService{
    public void createUser(UserModel userModel) throws ServiceException;

    public UserModel getUser(QueryUserParam param) throws ServiceException;

    public Integer getUserCount(QueryUserCountParam param) throws ServiceException;

    public List<UserModel> getUserList(QueryUserListParam param) throws ServiceException;

    public void updateUser(UserModel userModel) throws ServiceException;

    public List<UserModel> createChildUser(List<UserModel> userList, UserModel parent) throws ServiceException;

}